package com.always.electrical.energy.web.res;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

/**
 * 风机
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class MscWindPowerRes extends WebResponse {

    private List<Item> items = new ArrayList<>();

    @Data
    @Accessors(chain = true)
    public static class Item implements Serializable {

        /**
         * 设备ID
         */
        private BigDecimal id;

        /**
         * 运行状态
         */
        private String runst;

        /**
         * 逆变输出电压
         */
        private BigDecimal wtVInv;

        /**
         * 逆变输出电流
         */
        private BigDecimal wtAInv;

        /**
         * 累计发电量
         */
        private BigDecimal wtTotwh;

        /**
         * 逆变器功率
         */
        private BigDecimal wtWInv;
    }
}
